home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / hal / fdi / policy / 10osvendor / 10-hal_lpadmin.fdi < prev    next >
Encoding:
Extensible Markup Language  |  2009-04-06  |  1.0 KB  |  20 lines

  1. <?xml version="1.0" encoding="UTF-8"?> 
  2.  
  3. <deviceinfo version="0.2">
  4.   <device>
  5.     <match key="usb.interface.class" int="7">
  6.       <match key="usb.interface.subclass" int="1">
  7.     <append key="info.addons" type="strlist">hal_lpadmin --add</append>
  8.     <append key="info.callouts.remove" type="strlist">hal_lpadmin --remove</append>
  9.     <append key="info.interfaces" type="strlist">org.freedesktop.Hal.Device.Printer</append>
  10.     <append key="org.freedesktop.Hal.Device.Printer.method_names" type="strlist">Configure</append>
  11.     <append key="org.freedesktop.Hal.Device.Printer.method_signatures" type="strlist">ss</append>
  12.     <append key="org.freedesktop.Hal.Device.Printer.method_execpaths" type="strlist">hal_lpadmin --configure</append>
  13.     <append key="org.freedesktop.Hal.Device.Printer.method_argnames" type="strlist">make model</append>
  14.     <merge key="usb.vendor" type="copy_property">@info.parent:usb_device.vendor</merge>
  15.     <merge key="usb.product" type="copy_property">@info.parent:usb_device.product</merge>
  16.       </match>
  17.     </match>
  18.   </device>
  19. </deviceinfo>
  20.